/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.registration.membership;

import com.registration.Persistent;
import com.registration.core.Category;
import com.registration.core.Country;
import java.util.Date;

/**
 * @date May 11, 2012
 *
 * @author ggutierrez
 */
public class Member implements Persistent {

    private Long id;
    private String memberId;
    private String fullName;
    private String firstName;
    private String middleName;
    private String lastName;    
    private Date memberSince;
    private MemberType memberType;
    private Integer renewYear;
    private String gradeDescription;
    private String status;
    private String email;
    private String branchName;
    private Category category;
    private Country country;

    public Member() {
    }

    public Member(String memberId, String firstName, String middleName, String lastName, String branchName, Date memberSince, MemberType type) {
        this.memberId = memberId;
        this.firstName = firstName;
        this.middleName = middleName;
        this.lastName = lastName;
        this.branchName = branchName;
        this.memberSince = memberSince;
        this.memberType = type;
        this.fullName = firstName + " " + middleName + " " + lastName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getMiddleName() {
        return middleName;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public Date getMemberSince() {
        return memberSince;
    }

    public void setMemberSince(Date memberSince) {
        this.memberSince = memberSince;
    }

    public MemberType getMemberType() {
        return memberType;
    }

    public void setMemberType(MemberType memberType) {
        this.memberType = memberType;
    }

    public Integer getRenewYear() {
        return renewYear;
    }

    public void setRenewYear(Integer renewYear) {
        this.renewYear = renewYear;
    }

    public String getGradeDescription() {
        return gradeDescription;
    }

    public void setGradeDescription(String gradeDescription) {
        this.gradeDescription = gradeDescription;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Country getCountry() {
        return country;
    }

    public void setCountry(Country country) {
        this.country = country;
    }
}
